<ion-view view-title="易融通" xmlns="http://www.w3.org/1999/html">
    <ion-nav-buttons side="left">
        <back-button></back-button>
    </ion-nav-buttons>
    <ion-content ng-class="{'has-loading': isOffline}">
        <div class="text-center yFinancingBg"
             style="height: 280px; padding-top: 5px">
            <div id="indicatorContainer">
            </div>
            <div id="divContainer" class="light text-center">
                <p class="fs1">可借金额</p>

                <p class="yh2 Mt5"
                   ng-bind="financing.money | currency:'￥'"></p>

                <p class="Mt5"
                   ng-bind="financing.dollar | currency:'$'"></p>
            </div>
            <div class="panel_head light"
                 ng-repeat="financingAccount in financingAccountList">
                <div class="row">
                    <div class="col-40 text-left">
                        <i ng-class="{'positive':$first, 'energized':$last}">•</i>
                        <label class="stable"
                               bo-text="financingAccount.name"></label>
                    </div>
                    <div class="col-60 text-right">
                        <p class="fs1"
                           ng-bind="financingAccount.money | currency:'￥'"></p>

                        <p class="fs0 stable"
                           ng-bind="financingAccount.dollar | currency:'$'"></p>
                    </div>
                </div>
                <div class="row yMgPd"
                     bo-if="$first">
                    <div class="col">
                        <hr class="yhr">
                    </div>
                </div>
            </div>
        </div>
        <div class="row text-center light-bg Mt10">
            <div class="col-50">
                <a ng-click="loan()"
                   class="button light-bg">
                    <i class="icon button-icon ion-card positive"></i>

                    <div class="yfs2"
                         style="margin-top: -15px">
                        我要借款
                    </div>
                </a>
            </div>
            <div class="col-50">
                <a href="#/tab/account-easyFinancingRepayment"
                   class="button button-icon light-bg">
                    <i class="icon ion-cash clr2"></i>

                    <div class="yfs2"
                         style="margin-top: -15px">
                        我要还款
                    </div>
                </a>
            </div>
        </div>
        <a href="#/tab/account-easyFinancingRepayment"
           class="item group Mt10">
            <i class="icon ion-android-time"
               style="font-size: 20px;"></i>
            借款记录
        </a>
        <a href="#/tab/account-easyFinancingCounter"
           class="item group">
            <i class="icon ion-ios-calculator"
               style="font-size: 20px; margin-left: 2px"></i>
            <label style="margin-left: 2px">贷款计算器</label>
        </a>
        <a href="#/tab/account-easyFinancingJurisdiction"
           class="item group">
            <i class="icon ion-ios-gear fs0"
               style="font-size: 20px;"></i>
            权限管理
        </a>
    </ion-content>
</ion-view>
